package homework;
import java.util.Scanner;
public class Domo8 {
    public static void main(String[] args) {
    Scanner ZFX = new Scanner(System.in);
    System.out.println("请输入正方形边长");
    int BC = ZFX.nextInt();
    for (int i = 1; i <= BC; i++) {
        for (int j = 1; j <= BC; j++) {
            System.out.print("*");
        }
        System.out.println();
    }
}
}

